package com.shop.cloud.pay.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.binarywang.wxpay.bean.applyment.WxPayApplymentCreateResult;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.shop.cloud.pay.common.entity.PayApplyForm;

/**
 * 支付进件申请单
 *
 * @author
 * @date 2020-08-27 10:51:37
 */
public interface PayApplyFormService extends IService<PayApplyForm> {

	/**
	 * 提交申请单到微信
	 * @param payApplyForm
	 */
	WxPayApplymentCreateResult submit(PayApplyForm payApplyForm) throws WxPayException;

	/**
	 * 查询申请状态
	 * @param payApplyForm
	 */
	void queryApplyStatus(PayApplyForm payApplyForm);
}
